/**
 * @license MPL 1.1/GPL 2.0/LGPL 2.1, see license.txt
 * @author William Elwood <we9@kent.ac.uk>
 * @copyright 2010 JSONovich Team. All Rights Reserved.
 * @description This file contains style rules for rendering formatted JSON.
 */

 body, .json {
  margin:0;
  padding:0;
}
.json {
  font-family:monospace;
  white-space:pre-wrap;
  color:#666;
  display:table;
  counter-reset:line;
}
.json .line {
  display:table-row;
  counter-increment:line;
}
.json .line:nth-of-type(even) {
  background-color:#fafaff;
}
.json .line:nth-of-type(odd) {
  background-color:#fafffa;
}
.json .line:hover > .gutter {
  background-color:#eeeebb;
}
.json .line:hover > code {
  background-color:#ffffcc;
}
.json .gutter, .json code {
  margin:0;
  padding:0;
  display:table-cell;
}
.json .gutter {
  text-align:right;
  background-color:#eee;
}
.json .foldable {
  cursor:vertical-text;
}
.json .foldable.toggled {
  cursor:row-resize;
  background-color:#fa7;
}
.json .foldable.toggled > .gutter {
  background-color:#ea8;
}
.json .foldable.toggled > code {
  background-color:#fb9;
}
.json .foldable.toggled:hover > .gutter {
  background-color:#ecb;
}
.json .foldable.toggled:hover > code {
  background-color:#fdc;
}
.json .folded.line {
  visibility:collapse;
}
.json .foldable .fold.gutter:before {
  content:'-';
}
.json .foldable.toggled .fold.gutter:before {
  content:'+';
}
.json .foldable.toggled code:first-of-type:after {
  content:' \2026 ';
}
.json .number.gutter:before {
  content:counter(line);
}
.json code {
  text-align:left;
}
.json code .string > .content {
  color:#080;
}
.json code .key {
  color:#008;
}
.json code .boolean {
  color:#066;
}
.json code .number {
  color:#066;
}
.json code .null {
  color:#066;
}
.json code .delimiter {
  color:#660;
}
.json code .separator {
  color:#660;
}

@media print {
  .json code .string > .content {
    color:#060;
  }
  .json code .key {
    color:#006;
    font-weight:bold;
  }
  .json code .boolean {
    color:#044;
  }
  .json code .number {
    color:#044;
  }
  .json code .null {
    color:#044;
  }
  .json code .delimiter {
    color:#440;
  }
  .json code .separator {
    color:#440;
  }
}